cmake_minimum_required(VERSION 3.21)

project(imguicom)

set(CMAKE_CXX_STANDARD 17)

add_subdirectory(glad)
add_subdirectory(glfw)
add_subdirectory(imgui)
add_subdirectory(imguiex)
add_subdirectory(improfx_control)
# add_subdirectory(play_sound)
# add_subdirectory(play_xaudio2)
aux_source_directory(./src SOURCE_LIST)

add_executable(${PROJECT_NAME} ${SOURCE_LIST})

target_link_libraries(${PROJECT_NAME} PRIVATE glad glfw imgui improfx_control imguiex)